home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / fileutil / fileutils-3.16.tar.gz / fileutils-3.16.tar / fileutils-3.16 / README < prev    next >
Text File  |  1996-11-03  |  6KB  |  111 lines

  1. These are the GNU file management utilities.  Most of these programs
  2. have significant advantages over their Unix counterparts, such as
  3. greater speed, additional options, and fewer arbitrary limits.
  4.  
  5. The programs that can be built with this package are: chgrp, chown,
  6. chmod, cp, dd, df, du, install, ln, dir, vdir, ls, mkdir, mvdir, mkfifo,
  7. mknod, mv, rm, rmdir, sync and touch.  But mvdir is built only on systems
  8. that lack the rename system call.
  9.  
  10. The programs cat, cut, expand, head, paste, split, tac, tail and
  11. unexpand, which used to be part of the fileutils, are now part of the
  12. textutils.  cmp is now part of the diff distribution.
  13.  
  14. See the file NEWS for a list of major changes in the current release.
  15.  
  16. See the file INSTALL for compilation and installation instructions.
  17.  
  18. If you are using a version of the Linux libc that predates 4.4.1,
  19. you should get a newer version.  The old libraries contain getopt
  20. functions that are incompatible with several of these utilities.  For
  21. instance, when built with the obsolete getopt functions, `chmod +x'
  22. will give usage errors instead of the expected results.
  23.  
  24. The fileutils are intended to be POSIX.2 compliant (with BSD and other
  25. extensions), like the rest of the GNU system.  They are almost there,
  26. but a few incompatibilities remain.
  27.  
  28. The skeletal man pages that were provided with earlier versions of this
  29. package have been converted to Texinfo documentation.  Although the
  30. Texinfo documentation is improved and much better organized (thanks to
  31. Karl Berry and Franc,ois Pinard) it is still not up to the standard of
  32. other GNU manuals.  Although the man pages are still being distributed
  33. and installed, they are no longer being updated.
  34.  
  35. The ls, dir, and vdir commands are all separate executables instead of
  36. one program that checks argv[0] because people often rename these
  37. programs to things like gls, gnuls, l, etc.  Renaming a program
  38. file shouldn't affect how it operates, so that people can get the
  39. behavior they want with whatever name they want.
  40.  
  41. On (old?) Sequents, the GNU install and chgrp utilities work only when
  42. run as root, because the Sequent chown system call doesn't allow non-root
  43. users to change files' groups, unlike on every other known Unix.
  44. (The Sequent /bin/chgrp is setuid root.  Don't try making GNU chgrp
  45. setuid root unless you add security checks to it.)
  46.  
  47. A warning about du for HP-UX users: GNU du (and I'm sure BSD-derived
  48. versions) counts the st_blocks field of the `struct stat' for each
  49. file.  (It's best to use st_blocks where available, instead of
  50. st_size, because otherwise you get wildly wrong answers for sparse
  51. files like coredumps, and it counts indirect blocks.)  Chris Torek in
  52. a comp.unix.wizards posting stated that in 4BSD st_blocks is always
  53. counted in 512 byte blocks.  On HP-UX filesystems, however, st_blocks
  54. is counted in 1024 byte blocks.  When GNU du is compiled on HP-UX, it
  55. assumes that st_blocks counts 1024-byte blocks, because locally
  56. mounted filesystems do; so to get the number of 512-byte blocks, it
  57. doubles the st_blocks value.  (The HP-UX du seems to do the same
  58. thing.)  This gives the correct numbers on HP-UX filesystems.  But for
  59. 4BSD filesystems mounted on HP-UX machines, it gives twice the correct
  60. numbers; similarly, for HP-UX filesystems, du on 4BSD machines gives
  61. half the correct numbers.  GNU ls with the -s option has the same
  62. problem.  I know of no way to determine for a given filesystem or file
  63. what units st_blocks is measured in.  The f_bsize element of `struct
  64. statfs' does not work, because its meaning varies between different
  65. versions of Unix.
  66.  
  67. The GNU cp, mv, and ln commands can make backups of files that they
  68. are about to overwrite or remove.  Backup file names will end up being
  69. the same as the original file names for files that are at the system's
  70. filename length limit; when that happens, the new file will silently
  71. replace the backup file that was just made.  This happens with GNU
  72. Emacs, also.  I am not aware of a clean, portable solution to this
  73. problem.
  74.  
  75. Special thanks to Jim Meyering, Brian Matthews, Bruce Evans, Karl Berry,
  76. Kaveh Ghazi, and Franc,ois Pinard for help with debugging and porting
  77. these programs.  Many thanks to all of the people who have taken the
  78. time to submit problem reports and fixes.  Contributed changes are
  79. attributed in the ChangeLog file.
  80.  
  81. Note that the distributed man pages are no longer being updated.
  82. The authoritative documentation is in texinfo form in the doc directory.
  83.  
  84. INSTALLATION NOTE:
  85. On some systems (at least HPUX (9.xx?), Interactive (ISC) 4.1a, and
  86. probably other SVR3-based systems) `make install' fails because the
  87. running `install' program cannot be unlinked.  If you experience that
  88. problem, you can work around it by rerunning configure and telling it
  89. to use the install-sh script to install files.
  90.  
  91. If you use a Bourne-compatible shell, type this:
  92.  
  93.   INSTALL="`pwd`/install-sh -c" ./configure
  94.  
  95. or if you have the env program type
  96.  
  97.   env INSTALL="`pwd`/install-sh -c" ./configure
  98.  
  99.  
  100. These programs all recognize the `--version' option.  When reporting
  101. bugs, please include in the subject line both the package name/version
  102. and the name of the program for which you found a problem.
  103.  
  104. For general documentation on the coding and usage standards
  105. this distribution follows, see the GNU standards document
  106. ftp://prep.ai.mit.edu/pub/gnu/standards.*, especially the `Makefile
  107. Conventions', `Configuration', and `User Interfaces' sections.
  108.  
  109. Mail suggestions and bug reports for these programs to
  110. fileutils-bugs@gnu.ai.mit.edu.
  111.